package com.kun.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kun.domain.SysUser;
import com.kun.vo.SysUserVo;

import java.util.List;

public interface ISysUserService extends IService<SysUser> {

    /**
     * 通过用户名查询用户
     */
    SysUser selectUserByUserName(String userName);

    /**
     * 根据条件分页查询用户列表
     */
    List<SysUser> selectUserList(SysUser sysUser);

    /**
     * 添加信息
     */
    List<SysUserVo> addInfo(List<SysUser> sysUsers);
}
